<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns="" xml:lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
    <link rel="stylesheet" type="text/css" href="<?php echo $this->res("skin/default/css/style.css") ?>" media="all" />
    <link rel="stylesheet" type="text/css" href="<?php echo $this->res("skin/default/css/pure-min.css") ?>" media="all" />
    <link rel="stylesheet" type="text/css" href="<?php echo $this->res("skin/default/css/pure-mine-skin.css") ?>" media="all" />
    <link rel="stylesheet" type="text/css" href="<?php echo $this->res("skin/default/css/prettify.css") ?>" media="all" />
    <script type="text/javascript" src="<?php echo $this->res("js/jquery-1.7.1.min.js") ?>"></script>
    <script src="<?php echo $this->res("js/prettify.js") ?>" charset="utf-8"></script>
    <title><?php echo isset($title) ? $title : 'Ideaa' ?></title>
</head>
<body class="pure-skin-mine">
    <div class="pure-menu pure-menu-open pure-menu-fixed pure-menu-horizontal">
        <a href="<?php echo $this->link() ?>" class="pure-menu-heading">
            <h2 style="text-transform:none">ideaa</h2>
        </a>
        <ul>
            <li <?php if(strtolower($this->controller) == '' || strtolower($this->controller) == 'main') : ?>class="pure-menu-selected"<?php endif ?>>
                <a href="<?php echo $this->link() ?>">首页</a>
            </li>
            <li <?php if(strtolower($this->controller) == 'article') : ?>class="pure-menu-selected"<?php endif ?>>
                <a href="<?php echo $this->link("article") ?>">日志</a>
            </li>
        </ul>
    </div>

    <div class="wrap content" style="padding-top: 80px;">
        <?php echo $content ?>
    </div>
    <div class="wrap foot clear">
        <span>Ideaa 2012 Powered by <a href="http://git.oschina.net/ideaa/crossphp">CrossPHP</a></span>
        <h5 style="padding-top: 10px;" class="brand-tagline"><?php echo $this->setSkin() ?></h5>
    </div>
</body>
</html>
